package com.fita.entity.order;

/**
 * @Author: LZJ
 * @Date: 2019/9/12 13:47
 */
public enum InvoiceStatus {

    CREATED("created","开票中"),

    MAKED("maked","已开票"),

    REDMAKED("redmaked","已开红票");


    private String description;

    private String alias;

    InvoiceStatus(String description, String alias) {
        this.description = description;
        this.alias = alias;
    }


    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getAlias() {
        return alias;
    }

    public void setAlias(String alias) {
        this.alias = alias;
    }


    public boolean isMaked(){

        return this.equals(MAKED);
    }
}
